<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>VT100.net: Digital VT102 User Guide</TITLE>
<LINK HREF="vt102-ug.css" TYPE="text/css" REL="stylesheet">
</HEAD>
<BODY>
<DIV CLASS="navbar"><A HREF="http://vt100.net/"><IMG CLASS="button" SRC="vt100.net-logo.png" ALT="VT100.net" HEIGHT="16" WIDTH="102"></A> VT102 User Guide<TABLE WIDTH="100%">
<COL SPAN="3" WIDTH="33%">
<TBODY>
<TR>
<TD ALIGN="LEFT"><A HREF="chapter5.html">Chapter 5</A></TD>
<TD ALIGN="CENTER"><A HREF="contents.html">Contents</A></TD>
<TD ALIGN="RIGHT">&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
<HR></DIV>
<TABLE ID="T5-3" CLASS="majortable" FRAME="VOID" RULES="GROUPS" CELLSPACING="0" CELLPADDING="4" BORDERCOLOR="#ffffff">
<CAPTION>Table 5-3 Escape and Control Sequences</CAPTION>
<TBODY>
<TR VALIGN="TOP">
<TH>ANSI-Compatible Sequences</TH>
</TR>
<TR VALIGN="TOP">
<TD>SET-UP Feature and Mode Selection
<UL>
<LI>Set mode (SM) and reset mode (RM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>ANSI/VT52 Compatibility
<UL>
<LI>ANSI/VT52 mode (DECANM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Scrolling
<UL>
<LI>Scroll mode (DECSCLM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Scrolling Region
<UL>
<LI>Set top and bottom margins (DECSTBM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Origin
<UL>
<LI>Origin mode (DECOM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Cursor Positioning
<UL>
<LI>Cursor up (CUU)</LI>
<LI>Cursor down (CUD)</LI>
<LI>Cursor forward (CUF)</LI>
<LI>Cursor backward (CUB)</LI>
<LI>Cursor position (CUP)</LI>
<LI>Horizontal and vertical position (HVP)</LI>
<LI>Index (IND)</LI>
<LI>Reverse index (RI)</LI>
<LI>Next line (NEL)</LI>
<LI>Save cursor (DECSC)</LI>
<LI>Restore cursor (DECRC)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Columns Per Line
<UL>
<LI>Column mode (DECCOLM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Auto Wrap
<UL>
<LI>Auto wrap mode (DECAWM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Screen Background
<UL>
<LI>Screen mode (DECSCNM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Linefeed/New Line
<UL>
<LI>Linefeed/new line mode (LNM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Keyboard Action
<UL>
<LI>Keyboard action mode (KAM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Auto Repeat
<UL>
<LI>Auto repeat mode (DECARM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Local Echo
<UL>
<LI>Send-receive mode (SRM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Cursor Key Character Selection
<UL>
<LI>Cursor key mode (DECCKM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Keypad Character Selection
<UL>
<LI>Numeric keypad (DECKPNM)</LI>
<LI>Application keypad (DECKPAM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Character Sets and Selection
<UL>
<LI>Select character set (SCS)</LI>
<LI>Single shift 2 (SS2)</LI>
<LI>Single shift 3 (SS3)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Character Attributes
<UL>
<LI>Select graphic rendition (SGR)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Tab Stops
<UL>
<LI>Horizontal tab set (HTS)</LI>
<LI>Tabulation clear (TBC)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Line Attributes
<UL>
<LI>Double-height line (DECDHL)</LI>
<LI>Single-width line (DECSWL)</LI>
<LI>Double-width line (DECDWL)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Erasing
<UL>
<LI>Erase in line (EL)</LI>
<LI>Erase in display (ED)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Computer Editing
<UL>
<LI>Delete character (DCH)</LI>
<LI>Insert line (IL)</LI>
<LI>Delete line (DL)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Inserting and Replacing Characters
<UL>
<LI>Insertion-replacement mode (IRM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Printing
<UL>
<LI>Media copy (MC)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Printer Extent
<UL>
<LI>Printer extent mode (DECPEX)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Print Termination Character
<UL>
<LI>Printer form feed mode (DECPFF)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Reports
<UL>
<LI>Device status report (DSR)</LI>
<LI>Cursor position report (CPR)</LI>
<LI>Device attributes (DA)</LI>
<LI>Identify terminal (DECID)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Reset
<UL>
<LI>Reset to initial state (RIS)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Tests
<UL>
<LI>Invoke confidence test (DECTST)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Adjustments
<UL>
<LI>Screen alignment display (DECALN)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Keyboard indicator
<UL>
<LI>Load LED (DECLL)</LI>
</UL></TD>
</TR>
</TBODY>
<TBODY>
<TR VALIGN="TOP">
<TH>VT52-Compatible Sequences</TH>
</TR>
<TR VALIGN="TOP">
<TD>Modes</TD>
</TR>
<TR VALIGN="TOP">
<TD>ANSI/VT52 Compatibility
<UL>
<LI>ANSI mode (DECANM)</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Cursor Positioning
<UL>
<LI>Cursor up</LI>
<LI>Cursor down</LI>
<LI>Cursor right</LI>
<LI>Cursor left</LI>
<LI>Cursor to home</LI>
<LI>Direct cursor address</LI>
<LI>Reverse linefeed</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Keypad Character Selection
<UL>
<LI>Application keypad mode</LI>
<LI>Numeric keypad mode</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Character Sets and Selection
<UL>
<LI>Enter graphics mode</LI>
<LI>Exit graphics mode</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Erasing
<UL>
<LI>Erase to end of line</LI>
<LI>Erase to end of screen</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Printing
<UL>
<LI>Auto print</LI>
<LI>Print controller</LI>
<LI>Print cursor line</LI>
<LI>Print screen</LI>
</UL></TD>
</TR>
<TR VALIGN="TOP">
<TD>Reports
<UL>
<LI>Identify</LI>
</UL></TD>
</TR>
</TBODY>
</TABLE>
<DIV CLASS="navbar"><HR>
<TABLE WIDTH="100%">
<COL SPAN="3" WIDTH="33%">
<TBODY>
<TR>
<TD ALIGN="LEFT"><A HREF="chapter5.html">Chapter 5</A></TD>
<TD ALIGN="CENTER"><A HREF="contents.html">Contents</A></TD>
<TD ALIGN="RIGHT">&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
<DIV CLASS="navbot">http://vt100.net/docs/vt102-ug/table5-3.html</DIV></DIV>
</BODY>
</HTML>
